<template>
  <div id="tjyj">
    <div class="login-head">
      <span style="color: #fff" @click="jumpFn()">
        <van-icon name="arrow-left"
      /></span>
      <span class="login-title">推荐有奖</span>
      <span></span>
    </div>
    <div class="middle-img">
      <img src="https://elm.cangdu.org/elm/static/img/activity.png" alt="" />
    </div>
    <div class="part3">
      <div class="wx-logo">
        <img
          src="../../static/wx.png"
          alt=""
          class="img-btn"
          @click="tixin()"
        />
        <p>邀请微信好友</p>
      </div>
      <div class="qq-logo">
        <img
          src="../../static/qq.png"
          alt=""
          class="img-btn"
          @click="tixin()"
        />
        <p>邀请QQ好友</p>
      </div>
      <div class="mx-logo">
        <img
          src="../../static/mx.png"
          alt=""
          class="img-btn"
          @click="tixin()"
        />
        <p>面对面邀请</p>
      </div>
    </div>
    <div class="Tj-money">
      <div class="Tj-left">
        <p>累计收入</p>
        <p><b style="color: #ff5633">0</b> 元</p>
      </div>
      <div class="Tj-right">
        <p>成功邀请</p>
        <p class="ren"><b style="color: #333">0</b>人</p>
      </div>
    </div>
    <p class="symx">-收益明细-</p>
    <div class="end">
      <img
        src=""
        alt=""
      />
    </div>
    <p class="abc">还不赶紧去邀请好友?</p>
  </div>
</template>

<script>
export default {
  name: "tjyj",

  data() {
    return {};
  },
  mounted() {},
  methods: {
    jumpFn() {
      this.$router.back();
    },
    tixin() {
      $(".img-btn").attr("id", "tip");
      new TipBox({ type: "tip", str: "请在饿了么App中打开!", hasBtn: true });
    },
  },
};
</script>

<style scoped>
.end {
  text-align: center;
}
.abc {
  font-size: 12px;
  color: #999;
  text-align: center;
}
.symx {
  font-size: 12px;
  text-align: center;
  color: #999;
  margin-bottom: 30px;
}
.end img {
  width: 31px;
  height: 38px;
}
.Tj-money {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
}
.ren {
  font-size: 12px;
  color: #666;
}
.Tj-left {
  box-sizing: border-box;
  border-right: 1px solid #ddd;
}
b {
  font-size: 18.5px;
}
b:nth-child(1) {
  color: red;
}
.Tj-left > P {
  font-size: 12px;
  color: #666;
}
.zer {
  color: #333;
}
.Tj-money div {
  text-align: center;
  width: 50%;
}
.Tj-money div > p:nth-child(1) {
  font-size: 12px;
  color: #666;
}
.login-head {
  width: 100%;
  height: 46.5312px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0092e8;
  position: fixed;
  top: 0;
  left: 0;
}
.login-title {
  color: white;
  position: relative;
  left: -19.9985px;
  font-size: 19.9985px;
}
#tjyj {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 21;
  background-color: #f5f5f5;
}
.wx-logo,
.qq-logo,
.mx-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.middle-img img {
  width: 100%;
  height: 235px;
  margin-top: 47px;
}
.part3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px;
  background-color: #fff;
  height: 130px;
}
.part3 img {
  width: 58px;
  height: 58px;
}
.part3 p {
  font-size: 13px;
  color: #333;
}
</style>